package com.mike.bdb.model;

import com.sleepycat.persist.model.Entity;
import com.sleepycat.persist.model.PrimaryKey;

@Entity
public class Pet {
	@PrimaryKey
	private String id;
	private String name;
	private String hostPlayer;
	private byte type;
	private long bornTimeMillis;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getHostPlayer() {
		return hostPlayer;
	}
	public void setHostPlayer(String hostPlayer) {
		this.hostPlayer = hostPlayer;
	}
	public byte getType() {
		return type;
	}
	public void setType(byte type) {
		this.type = type;
	}
	public long getBornTimeMillis() {
		return bornTimeMillis;
	}
	public void setBornTimeMillis(long bornTimeMillis) {
		this.bornTimeMillis = bornTimeMillis;
	}
	
	
}
